package com.sjft.cloud.commons.support.datamodel.core.prop;

import com.sjft.cloud.commons.support.datamodel.core.rule.FileUploadRule;
import com.sjft.cloud.commons.support.datamodel.core.value.FileUploadValue;
import com.sjft.cloud.commons.support.datamodel.enums.ModelFieldTypeEnum;
import com.sjft.cloud.commons.support.datamodel.enums.MysqlColumnTypeEnum;
import com.sjft.cloud.commons.support.datamodel.core.ModelFieldProp;
import lombok.Getter;
import lombok.Setter;

/**
 * InputDTO
 *
 * @author Jin
 */
@Getter
@Setter
public class FileUploadProp implements ModelFieldProp<FileUploadRule, FileUploadValue> {
    private String name = ModelFieldTypeEnum.FILE_UPLOAD_NAME;
    private String columnType = MysqlColumnTypeEnum.VARCHAR.getCode();
    private Integer length = 64;
    private Boolean autoIncrement = false;
    private String defaultValue = "";
    private Boolean notNull = false;
    private Boolean primaryKey = false;

    private FileUploadRule rule = new FileUploadRule();
    private FileUploadValue value = new FileUploadValue();

}
